package biz.impl;

import biz.UsersBiz;
import dao.UsersDao;
import dao.impl.UsersDaoImpl;
import entity.Users;

public class UsersBizImpl implements UsersBiz{
	UsersDao ud=new UsersDaoImpl();
	@Override
	public Users getUserByName(String username) {
		return ud.getUserByName(username);
	}

	@Override
	public void addUers(Users u) {
		ud.addUers(u);
		
	}

	@Override
	public Users checklogin(String username, String password) {
		return ud.checklogin(username, password);
	}

}
